package com.zhiyume.api.util;

/**
 * Created by wang on 17/10/20.
 */
public enum ApiOperateEnum {

    UP(1, "up"), DOWN(2, "down"),  REFRESH(3, "refresh");

    private String name ;
    private int index ;

    ApiOperateEnum(  int index, String name ){
        this.name = name ;
        this.index = index ;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }


}